<?php
return array(
	// 开启路由
    'URL_ROUTER_ON'   => true,
    //路由配置
    'URL_ROUTE_RULES' => array(
        'index/getBlog' => array('Home/Index/getBlog'),
        'about'=>array('Home/Index/aboutMe'),

        'demo/detail/:id'=>array('Home/Demo/detail'),
        'demo'=>array('Home/Demo/index'),

        'blog/detail/:id' => array('Home/Blog/detail'),
        'blog/keyword/:keyword/page/:currentPage' => array('Home/Blog/index'),
        'blog/tag/:tag/page/:currentPage' => array('Home/Blog/index'),
        'blog/month/:month/page/:currentPage' => array('Home/Blog/index'),
        'blog/page/:currentPage' => array('Home/Blog/index'),
        'blog' => array('Home/Blog/index'),

        'wow/auctionjob' => array('Home/Wow/auctionJob'),
        'wow/getauctioninfo/:realmId' => array('Home/Wow/getAuctionInfo'),
        'wow/getitem/:id' => array('Home/Wow/getItem'),
        'wow/getrealms' => array('Home/Wow/getRealms'),
        'wow' => array('Home/Wow/Index'),

        'admin/doc/edit/:id' => array('Home/Admin/editBlog'),
        'admin/doc' => array('Home/Admin/doc'),
        'admin/publish' => array('Home/Admin/publishBlog'),
        'admin/wow/getstat' => array('Home/Admin/getStatByRealmAndMonth'),
        'admin/wow' => array('Home/Admin/wow'),
        'admin' => array('Home/Admin/index'),

        'login' => array('Home/Login/login')
    ),
    //隐藏index.php
    URL_MODEL => 2,
);